﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:local="clr-namespace:SurveyControl.Controls;assembly=SurveyControl"
    xmlns:survey="clr-namespace:SurveyControl;assembly=SurveyControl"
    xmlns:VM="clr-namespace:DemoSurveyControl;assembly=DemoSurveyControl"
    x:Class="DemoSurveyControl.MainPage"
    mc:Ignorable="d"
    d:DesignWidth="640" d:DesignHeight="480">
    <UserControl.DataContext>
        <VM:MainViewModel/>
    </UserControl.DataContext>

    <Grid x:Name="LayoutRoot">
        <Border Margin="300,70,60,90" BorderBrush="Black" BorderThickness="1">
            <local:SurveyControl QuestionsSource="{Binding ListItem}">
            	<local:SurveyControl.Header>
            		<TextBlock Text="Etes-vous vraiment un développeur ?" FontSize="18.667" />
				</local:SurveyControl.Header>         
			</local:SurveyControl>
    	</Border>
        <Border HorizontalAlignment="Left" Height="50" Margin="40,400,0,0" VerticalAlignment="Top" Width="200" BorderBrush="Black" BorderThickness="1" >
        	<local:NavigationPart />
        </Border>
        <Border HorizontalAlignment="Left" Height="150" Margin="40,220,0,0" VerticalAlignment="Top" Width="200" BorderBrush="Black" BorderThickness="1" >
        	<local:QuestionControl />
        </Border>
        <Border HorizontalAlignment="Left" Height="150" Margin="40,45,0,0" VerticalAlignment="Top" Width="200" BorderBrush="Black" BorderThickness="1" >
        	<local:QuestionPart />
        </Border>
    </Grid>
</UserControl>
